package cn.stylefeng.guns.modular.system.service;

import cn.stylefeng.guns.modular.system.model.GameUser;
import cn.stylefeng.guns.modular.system.model.Room;
import com.baomidou.mybatisplus.service.IService;
import com.nineshadow.games.Enum.GameTypeEnum;

import java.util.List;

/**
 * <p>
 * 房间 服务类
 * </p>
 *
 * @author liyong
 * @since 2019-11-28
 */
public interface IRoomService extends IService<Room> {

    /**
     * 创建房间
     * @param gameType
     * @param matchPoolUsers
     * @throws Exception
     */
    void createRoom(GameTypeEnum gameType, List<GameUser> matchPoolUsers)throws Exception;
}
